package com.hzzc.api;

public class SSOAuthModel {

    /**
     * 授权码
     */
    private String code;

    /**
     * 用户数据
     */
    private UserView userView;


    /**
     * 用户权限数据
     */
    private SSOApplicationUserAuthorityView SSOApplicationUserAuthorityView;


    public String getCode() {
        return code;
    }

    public SSOAuthModel setCode(String code) {
        this.code = code;
        return this;
    }

    public UserView getUserView() {
        return userView;
    }

    public SSOAuthModel setUserView(UserView userView) {
        this.userView = userView;
        return this;
    }

    public SSOApplicationUserAuthorityView getSSOApplicationUserAuthorityView() {
        return SSOApplicationUserAuthorityView;
    }

    public SSOAuthModel setSSOApplicationUserAuthorityView(SSOApplicationUserAuthorityView SSOApplicationUserAuthorityView) {
        this.SSOApplicationUserAuthorityView = SSOApplicationUserAuthorityView;
        return this;
    }

    static class UserView {

        private String name;

        private String head;

        public String getName() {
            return name;
        }

        public UserView setName(String name) {
            this.name = name;
            return this;
        }

        public String getHead() {
            return head;
        }

        public UserView setHead(String head) {
            this.head = head;
            return this;
        }

    }

}
